package com.erp.Struts.common;

public class Constants {
	
	public final static String EMPLOYEE_KEY = "employee";
	// session username
	public final static String USERNAME_KEY = "username";
	// session role
	public final static String ROLE_KEY = "role";

	// struts mapping
	public final static String SUCCESS_KEY = "success";
	public final static String FAILURE_KEY = "failure";
	public final static String LOGOUT_KEY = "logout";

	public final static String INDEX_KEY = "index";
	public final static String LIST_KEY = "list";
	public final static String ADD_KEY = "add";
	public final static String EDIT_KEY = "edit";
	public final static String CHCEK_KEY = "check";
	public final static String UPDATE_KEY = "update";
	
	// pager default parameters
	public final static int pageSize = 10;
	public final static int pageNo =1;
	
	public final static String PAGER_INBILL = "pager_inbill";
	public final static String PAGER_SALEORDERFORM = "pager_saleorderform";
	public final static String PAGER_STOCKORDERFORM= "pager_stockorderform";
	public final static String PAGER_POWER = "pager_power";
}
